Personification
A figure of speech that gives human qualities to objects, animals, or ideas.
Example From Text
So long lives this and this gives life to thee.
Explanation
Shakespeare personifies the poem by giving it the human quality of life. He says the poem will live as long as the human race exists, and the poem will give life to his beloved.