I'm really stupid please help me...

Read this sentence:

The stars were shining like diamonds in the sky.

What figure of speech is used in the sentence?
Alliteration
Metaphor
Hyperbole
Simile