How do the following moves work?
Copycat
Me first
For copycat i understand to copy a move yo would first have to get hit and that two turn attack such as razor wind or solarbeam cannot be copied however i learnt that solarbeam can only be copied in the sun. But sometimes even if i get hit with a move it fails and i dont know how. If i get hit with hydro pump sometimes it fails or by solarbeam in the sun. The moves sometimes get copied and other times the dont.
I have no idea how this works all i know is that it randomly uses an opponents move but it often fails.