Number One! It is personification because it gives human characteristics to inanimate objects, and in this case it is implying stars wink like humans (meaning the stars are twinkling in the sky)!
BTW: The second one is a metaphor, third and fourth are similes!