what type of figurative language is

Fading memories are footprints in sand

The figurative language used in the phrase "Fading memories are footprints in sand" is a simile.