Answer: Personification
Step-by-step explanation:
Personification is giving a non-living object human characteristics. In this case, headlights of a car are, obviously, not living things. However, "winked" is a human characteristic. Therefore, the correct answer is personification.