Quoted By:
>Every Ditto has the ability to copy a Pokémon's entire cell structure in an instant and become its exact replica. They're terrible at remembering techniques, but when they use Transform, they temporarily learn all of their foe's moves. If a Ditto starts to laugh, it weakens and can't hold its transformation.
>when they use Transform, they temporarily learn all of their foe's moves.
>they [the Ditto] temporarily learn all of their foe's moves.
Canon lore states that Ditto itself learns the move, albeit temporarily. There. Debate solved.