- Meta — Stuff about veekun. Praise, complaints, praise, praise, more praise, and so on.
- Transform + Hidden Power
User copies the target's species, weight, type, ability, calculated stats (except HP), and moves. Copied moves will all have 5 PP remaining. IVs are copied for the purposes of Hidden Power, but stats are not recalculated."
As answered here: http://pokemon-online.eu/forums/showthread.php?4687-Transform-Hidden-Power&p=46703#post46703 and confirmed here: http://www.smogon.com/forums/showthread.php?p=3147201#post3147201 (More specifically, Yogi Bear's post)
The IVs of the copied Pokémon are not copied by Ditto at all.