Transform

Transform is a Normal-type fast attack. Upon entering battle, Transform turns the user into a copy of the opponent.

When used in Team GO Rocket battles or when facing an enemy Ditto, instead of transforming, Transform would act as a regular fast attack that deals damage, but does not generate energy.

Pokémon with this attack
The following Pokémon are currently able to learn this attack.

Trivia

 * Transform copies CP, types, attacks, and appearances, including shiny and/or best buddy status (in gym battles, once copied, Ditto would remain in that form for following battles).
 * Transform does not copy health (Ditto's own health is always used) and name.
 * Ditto always appears as Ditto during gym loading (however, shiny/best buddy status remains copied, resulting in the appearance of a shiny/best buddy Ditto when copying a previous opponent, even if it is not shiny/best buddy itself), gym battle end, and raid end screens. Type icons also remain copied throughout those screens.
 * In raid battles, Ditto turns into a copy of the raid boss Pokémon but using Ditto's own level and IVs.