If Moonlight literally refers to the light of the moon (which
cannot actually bathe) - then the figure of speech is
Personification (treating something which is not a person, as if it
were a person).
If Moonlight is the name of a horse, or a cow, there is no
figure of speech here.