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 copies 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).
 * 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 (including copying Mega Evolution) but using Ditto's own level and IVs. The same applies to gym battles, but additionally ignoring low motivation CP decay.
 * Transform only copies one of the opponent's charged attacks, even if they have unlocked a second charged attack.
 * Transform does not copy health (Ditto's own health is always used) or name.
 * Transform copies the auras of Purified and Shadow Pokémon during a gym battle. The aura disappears during loading screens, but Ditto will retain the more menacing expression of Shadow Pokémon, despite that Ditto does not have a Shadow form yet.
 * Transform copies costumes, but only during battle.