I need help understanding the ability Dancer.
In this replay, my Gardevoir switched into the opposing Oricorio, tracing its Dancer ability. Oricorio had used Quiver Dance on the turn Gardevoir switched in, and Gardevoir copied the Quiver Dance.
However, the next turn, Gardevoir used Psyshock, then Oricorio used Revelation Dance, and Gardevoir tried to copy the move but it failed. Later in the battle, a similar thing happened where Gardevoir was already switched in and used Psyshock, Oricorio used Quiver Dance, and Gardevoir tried to use the move but failed.
Why did the moves fail the second and third time? Is it because Gardevoir was already switched in? If so, why? Bulbapedia says Dancer will not activate on a move copied by another Pokemon with Dancer, but if that's the case, why did Dancer work when Gardevoir switched in?
Can someone help me understand?