Another Transform fix.
Another Transform fix.

- Gen 5: Does not copy IVs.
- Gen 4 and earlier: Does copy IVs. (As a result, Hidden Power type and
Base Power are copied.)

zczd/enculer,Legit99/Lightning-Storm-Server,iFaZe/SilverZ,panpawn/Gold-Server,Alpha-Devs/OmegaRuby-Server,ZeroParadox/BlastBurners,Adithya4Uberz/The-Tsunami-League,JellalTheMage/Jellals-Server,xfix/Pokemon-Showdown,TheFenderStory/Showdown-Boilerplate,abrulochp/Dropp-Pokemon-Showdown,lFernanl/Lumen-Pokemon-Showdown,megaslowbro1/Pokemon-Showdown,RustServer/Pokemon-Showdown,Oiawesome/DPPtServ2,sama2/Universe-Pokemon-Showdown,ehk12/bigbangtempclone,jumbowhales/Pokemon-Showdown,Extradeath/psserver,MayukhKundu/Technogear-Final,lFernanl/Mudkip-Server,kubetz/Pokemon-Showdown,jd4564/Pokemon-Showdown,xfix/Pokemon-Showdown,Ecuacion/Lumen-Pokemon-Showdown,HoeenCoder/SpacialGaze,Guernouille/Pokemon-Showdown,LustyAsh/EOS-Master,megaslowbro1/Pokemon-Showdown,Irraquated/Pokemon-Showdown,Ridukuo/Test2,MayukhKundu/Mudkip-Server,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,Luobata/Pokemon-Showdown,xCrystal/Pokemon-Showdown,ankailou/Pokemon-Showdown,panpawn/Gold-Server,Articuno-I/Pokemon-Showdown,kupochu/Pokemon-Showdown,SerperiorBae/Bae-Showdown,hayleysworld/Showdown-Boilerplate,CreaturePhil/Showdown-Boilerplate,Pikachuun/Pokemon-Showdown,Sora-Server/Sora,Hopenub/Pokemon-Showdown,jd4564/Pokemon-Showdown,Pikachuun/Joimmon-Showdown,Tesarand/Pokemon-Showdown,BadSteel/Omega-Pokemon-Showdown,superman8900/Pokemon-Showdown,lFernanl/Lumen-Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,EienSeiryuu/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,Ransei1/Alt,cadaeic/Pokemon-Showdown,Raina4uberz/Light-server,Flareninja/Lumen-Pokemon-Showdown,Irraquated/Showdown-Boilerplate,Flareninja/Sora,Zipzapadam/Server,KewlStatics/Alliance,MeliodasBH/boarhat,BasedGod7/PH,Alpha-Devs/OmegaRuby-Server,Tesarand/Pokemon-Showdown,TheManwithskills/Server---Thermal,JennyPRO/Jenny,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,JennyPRO/Jenny,bai2/Dropp,abrulochp/Lumen-Pokemon-Showdown,Neosweiss/Pokemon-Showdown,hayleysworld/Showdown-Boilerplate,Flareninja/Pokemon-Showdown,SerperiorBae/BaeShowdown,hayleysworld/serenityc9,zek7rom/SpacialGaze,MasterFloat/LQP-Server-Showdown,CorruptedHelix/Pokemon-Showdown,TheManwithskills/Server,TheManwithskills/Dusk--Showdown,SerperiorBae/Bae-Showdown-2,TheManwithskills/COC,lAlejandro22/lolipoop,Arcticblast/Pokemon-Showdown,Zarel/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,HoeenCoder/SpacialGaze,Enigami/Pokemon-Showdown,Raina4uberz/Light-server,Yggdrasil-League/Yggdrasil,EmmaKitty/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,bai2/Dropp,Pikachuun/Pokemon-Showdown-SMCMDM,Flareninja/Sora,sama2/Viridian-Pokemon-Showdown,kuroscafe/Paradox,theodelhay/test,abulechu/Dropp-Pokemon-Showdown,abulechu/Dropp-Pokemon-Showdown,MayukhKundu/Flame-Savior,gustavo515/test,Ridukuo/Test,lFernanl/Pokemon-Showdown,FakeSloth/Infinite,arkanox/MistShowdown,sirDonovan/Pokemon-Showdown,Nineage/Origin,hayleysworld/Pokemon-Showdown,KaitoV4X/Showdown,javi501/Lumen-Pokemon-Showdown,SerperiorBae/Bae-Showdown,LegendBorned/PS-Boilerplate,Ridukuo/Test,DalleTest/Pokemon-Showdown,TheDiabolicGift/Showdown-Boilerplate,svivian/Pokemon-Showdown,yashagl/pokemon,gustavo515/gashoro,TheManwithskills/New-boiler-test,xfix/Pokemon-Showdown,Firestatics/Firestatics46,TheFenderStory/Pokemon-Showdown,ZeroParadox/ugh,Hidden-Mia/Roleplay-PS,Flareninja/Hispano-Pokemon-Showdown,gustavo515/final,xCrystal/Pokemon-Showdown,danpantry/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,brettjbush/Pokemon-Showdown,gustavo515/final,HoeenCoder/SpacialGaze,megaslowbro1/Showdown-Server-again,MayukhKundu/Pokemon-Domain,iFaZe/SliverX,Nineage/Showdown-Boilerplate,asdfghjklohhnhn/Pokemon-Showdown,Flareninja/Lumen-Pokemon-Showdown,AbsolitoSweep/Absol-server,catanatron/pokemon-rebalance,Atwar/server-epilogueleague.rhcloud.com,Firestatics/Firestatics46,AvinashSwaminathan/lotus,BuzzyOG/Pokemon-Showdown,Chespin14/Custom-Platform-Pokemon-Showdown,Irraquated/Pokemon-Showdown,Vacate/Pokemon-Showdown,PrimalGallade45/Lumen-Pokemon-Showdown,PauLucario/LQP-Server-Showdown,SkyeTheFemaleSylveon/Pokemon-Showdown,panpawn/Pokemon-Showdown,Volcos/SpacialGaze,Stroke123/POKEMON,SilverTactic/Dragotica-Pokemon-Showdown,lFernanl/Mudkip-Server,Irraquated/Showdown-Boilerplate,VoltStorm/Server-pokemon-showdown,DarkSuicune/Kakuja-2.0,ScottehMax/Pokemon-Showdown,MayukhKundu/Technogear-Final,aakashrajput/Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,Darkshadow6/PokeMoon-Creation,Mystifi/Exiled,JellalTheMage/PS-,Lauc1an/Perulink-Showdown,BadSteel/Pokemon-Showdown,ehk12/coregit,SolarisFox/Pokemon-Showdown,catanatron/pokemon-rebalance,Extradeath/advanced,DB898/theregalias,Wando94/Pokemon-Showdown,comedianchameleon/test,Flareninja/Showdown-Boilerplate,Mystifi/Exiled,anubhabsen/Pokemon-Showdown,KewlStatics/Showdown-Template,PS-Spectral/Spectral,BlakJack/Kill-The-Noise,yashagl/pokemon-showdown,HoeenCoder/SpacialGaze,Pikachuun/Pokemon-Showdown-SMCMDM,xfix/Pokemon-Showdown,Adithya4Uberz/KTN,Kenny-/Pokemon-Showdown,lFernanl/Zero-Pokemon-Showdown,NoahVSGamingYT/Pokemon-Showdown,DesoGit/Tsunami_PS,SerperiorBae/Pokemon-Showdown-1,DesoGit/TsunamiPS,theodelhay/test,MasterFloat/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,MasterFloat/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,CreaturePhil/Showdown-Boilerplate,Checkinator/Pokemon-Showdown,ehk12/clone,SerperiorBae/BaeShowdown,MeliodasBH/Articuno-Land,TheManwithskills/serenity,TbirdClanWish/Pokemon-Showdown,DalleTest/Pokemon-Showdown,arkanox/MistShowdown,johtooo/PS,Lord-Haji/SpacialGaze,TheManwithskills/Server,TheManwithskills/Server---Thermal,abrulochp/Lumen-Pokemon-Showdown,Syurra/Pokemon-Showdown,ZeroParadox/ugh,Irraquated/EOS-Master,sama2/Lumen-Pokemon-Showdown,MayukhKundu/Pokemon-Domain,SSJGVegito007/Vegito-s-Server,Sora-League/Sora,DarkSuicune/Pokemon-Showdown,Zipzapadam/Server,miahjennatills/Pokemon-Showdown,TheManwithskills/DS,Enigami/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,Firestatics/omega,Psyientist/Showdown-Boilerplate,psnsVGC/Wish-Server,SerperiorBae/PokemonShowdown2,cadaeic/Pokemon-Showdown,Pablo000/aaa,psnsVGC/Wish-Server,Legit99/Lightning-Storm-Server,Celecitia/Plux-Pokemon-Showdown,UniversalMan12/Universe-Server,Celecitia/Plux-Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,ScottehMax/Pokemon-Showdown,Atwar/ServerClassroom,Articuno-I/Pokemon-Showdown,SkyeTheFemaleSylveon/Mudkip-Server,forbiddennightmare/Pokemon-Showdown-1,hayleysworld/serenityserver,Psyientist/Showdown-Boilerplate,k3naan/Pokemon-Showdown,yashagl/pokemon,InvalidDN/Pokemon-Showdown,Kill-The-Noise/BlakJack-Boilerplate,SerperiorBae/BaeShowdown,Kill-The-Noise/BlakJack-Boilerplate,Sora-Server/Sora,TheDiabolicGift/Showdown-Boilerplate,Disaster-Area/Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,piiiikachuuu/Pokemon-Showdown,ShowdownHelper/Saffron,Breakfastqueen/advanced,AWailOfATail/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown,TheFenderStory/Pokemon-Showdown,Wando94/Spite,urkerab/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,xfix/Pokemon-Showdown,Kevinxzllz/PS-Openshift-Server,sama2/Dropp-Pokemon-Showdown,MeliodasBH/Articuno-Land,CreaturePhil/Pokemon-Showdown,danpantry/Pokemon-Showdown,forbiddennightmare/Pokemon-Showdown-1,SubZeroo99/Pokemon-Showdown,Gold-Solox/Pokemon-Showdown,Flareninja/Pokemon-Showdown-1,LightningStormServer/Lightning-Storm,brettjbush/Pokemon-Showdown,Atwar/server-epilogueleague.rhcloud.com,xCrystal/Pokemon-Showdown,kubetz/Pokemon-Showdown,Enigami/Pokemon-Showdown,Mystifi/Exiled,johtooo/PS,Evil-kun/Pokemon-Showdown,hayleysworld/serenityserver,ShowdownHelper/Saffron,Lauc1an/Perulink-Showdown,TheManwithskills/Dusk--Showdown,Wando94/Spite,Irraquated/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,miahjennatills/Pokemon-Showdown,NoahVSGamingYT/Pokemon-Showdown,scotchkorean27/Pokemon-Showdown,Wando94/Pokemon-Showdown,piiiikachuuu/Pokemon-Showdown,SilverTactic/Pokemon-Showdown,KewlStatics/Shit,Pokemon-Devs/Pokemon-Showdown,superman8900/Pokemon-Showdown,FakeSloth/Infinite,Git-Worm/City-PS,PauLucario/LQP-Server-Showdown,AustinXII/Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,DesoGit/TsunamiPS,Kill-The-Noise/BlakJack-Boilerplate,SkyeTheFemaleSylveon/Mudkip-Server,Syurra/Pokemon-Showdown,MayukhKundu/Technogear,yashagl/pokecommunity,Elveman/RPCShowdownServer,Bryan-0/Pokemon-Showdown,Kevinxzllz/PS-Openshift-Server,Pikachuun/Joimmon-Showdown,kotarou3/Krister-Pokemon-Showdown,panpawn/Gold-Server,Yggdrasil-League/Yggdrasil,AustinXII/Pokemon-Showdown,comedianchameleon/test,hayleysworld/harmonia,Thiediev/Pokemon-Showdown,Nineage/Origin,lFernanl/Pokemon-Showdown,zczd/enculer,anubhabsen/Pokemon-Showdown,Breakfastqueen/advanced,Neosweiss/Pokemon-Showdown,k3naan/Pokemon-Showdown,AvinashSwaminathan/lotus-v2,Darkshadow6/PokeMoon-Creation,KewlStatics/Showdown-Template,Johto-Serverr/Werfin-Boilerplate,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,ShowdownHelper/Saffron,Ecuacion/Pokemon-Showdown,yashagl/pokemon-showdown,BlazingAura/Showdown-Boilerplate,ZestOfLife/FestiveLife,AbsolitoSweep/Absol-server,TheDiabolicGift/Lumen-Pokemon-Showdown,gustavo515/test,Alpha-Devs/Alpha-Server,Fusxfaranto/Pokemon-Showdown,InvalidDN/Pokemon-Showdown,TheDiabolicGift/Lumen-Pokemon-Showdown,comedianchameleon/servertest1,asdfghjklohhnhn/Pokemon-Showdown,DarkSuicune/Kakuja-2.0,PrimalGallade45/Dropp-Pokemon-Showdown,BuzzyOG/Pokemon-Showdown,Ridukuo/Test2,abrulochp/Dropp-Pokemon-Showdown,hayleysworld/harmonia,ankailou/Pokemon-Showdown,Sora-Server/Sora,BuzzyOG/Pokemon-Showdown,AvinashSwaminathan/Pokelegends,DesoGit/Tsunami_PS,Sora-League/Sora,PS-Spectral/Spectral,Parukia/Pokemon-Showdown,abulechu/Lumen-Pokemon-Showdown,RustServer/Pokemon-Showdown,HoeenKid/Pokemon-Showdown-Johto,Flareninja/Showdown-Boilerplate,gustavo515/batata,Flareninja/Sora,svivian/Pokemon-Showdown,Gold-Solox/Pokemon-Showdown,Werfin96/Ultimate,TheManwithskills/COC,jumbowhales/Pokemon-Showdown,Guernouille/Pokemon-Showdown,ZestOfLife/PSserver,sama2/Dropp-Pokemon-Showdown,KewlStatics/Pokeindia-Codes,svivian/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,DesoGit/Tsunami_PS,yashagl/pokecommunity,LightningStormServer/Lightning-Storm,Lord-Haji/SpacialGaze,Ecuacion/Lumen-Pokemon-Showdown,svivian/Pokemon-Showdown,TheManwithskills/Server-2,Breakfastqueen/advanced,Bryan-0/Pokemon-Showdown,panpawn/Pokemon-Showdown,UniversalMan12/Universe-Server,sama2/Universe-Pokemon-Showdown,hayleysworld/serenity,CreaturePhil/Showdown-Boilerplate,yashagl/yash-showdown,Enigami/Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,LustyAsh/EOS-Master,azum4roll/Pokemon-Showdown,svivian/Pokemon-Showdown,hayleysworld/serenity,PrimalGallade45/Dropp-Pokemon-Showdown,TheManwithskills/New-boiler-test,KaitoV4X/Showdown,SerperiorBae/Pokemon-Showdown,FakeSloth/wulu,Firestatics/omega,PS-Spectral/Spectral,AWailOfATail/awoat,gustavo515/gashoro,JellalTheMage/PS-,Flareninja/Pokemon-Showdown,Flareninja/Pokemon-Showdown-1,SerperiorBae/Bae-Showdown,lFernanl/Zero-Pokemon-Showdown,SkyeTheFemaleSylveon/Pokemon-Showdown,ZestOfLife/PSserver,urkerab/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,Flareninja/Hispano-Pokemon-Showdown,Kokonoe-san/Glacia-PS,UniversalMan12/Universe-Server,Disaster-Area/Pokemon-Showdown,CorruptedHelix/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,kupochu/Pokemon-Showdown,Lord-Haji/SpacialGaze,Parukia/Pokemon-Showdown,MayukhKundu/Mudkip-Server,JellalTheMage/Jellals-Server,TheManwithskills/Creature-phil-boiler,SerperiorBae/Bae-Showdown-2,Irraquated/EOS-Master,CreaturePhil/Pokemon-Showdown,MasterFloat/LQP-Server-Showdown,AustinXII/Pokemon-Showdown,TheManwithskills/Server-2,ehk12/coregit,Pikachuun/Touhoumon-Showdown,Ecuacion/Pokemon-Showdown,CrestfallPS/Pokemon-Showdown,gustavo515/batata,hayleysworld/asdfasdf,EienSeiryuu/Pokemon-Showdown,AvinashSwaminathan/lotus-v3,urkerab/Pokemon-Showdown,Stroke123/POKEMON,kuroscafe/Showdown-Boilerplate,Git-Worm/City-PS,LightningStormServer/Lightning-Storm,Kokonoe-san/Glacia-PS,sama2/Viridian-Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,javi501/Lumen-Pokemon-Showdown,Volcos/SpacialGaze,Parukia/Pokemon-Showdown,hayleysworld/serenityc9,hayleysworld/Pokemon-Showdown,Adithya4Uberz/The-Tsunami-League,TogeSR/Lumen-Pokemon-Showdown,Zarel/Pokemon-Showdown,zek7rom/SpacialGaze,Atwar/ServerClassroom,kuroscafe/Paradox,Extradeath/advanced,Legendaryhades/Oblivion,ZeroParadox/BlastBurners,TheManwithskills/Creature-phil-boiler,comedianchameleon/servertest1,SilverTactic/Dragotica-Pokemon-Showdown,Zarel/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,SubZeroo99/Pokemon-Showdown,Elveman/RPCShowdownServer,DB898/theregalias,SerperiorBae/Pokemon-Showdown-1,TogeSR/Lumen-Pokemon-Showdown,AWailOfATail/awoat,TheFenderStory/Showdown-Boilerplate,SerperiorBae/PokemonShowdown2,sama2/Lumen-Pokemon-Showdown,MayukhKundu/Technogear,megaslowbro1/Showdown-Server-again,lAlejandro22/lolipoop,abulechu/Lumen-Pokemon-Showdown,Pablo000/aaa,Extradeath/psserver,Oiawesome/DPPtServ2,hayleysworld/asdfasdf,Pokemon-Devs/Pokemon-Showdown,KewlStatics/Alliance,MayukhKundu/Flame-Savior,TheManwithskills/serenity,TbirdClanWish/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown,TheManwithskills/DS,Hidden-Mia/Roleplay-PS,SilverTactic/Showdown-Boilerplate,MeliodasBH/boarhat,Sora-League/Sora,Ransei1/Alt,ehk12/bigbangtempclone,azum4roll/Pokemon-Showdown,SerperiorBae/Bae-Showdown-2,Alpha-Devs/Alpha-Server,Vacate/Pokemon-Showdown,TheManwithskills/Server-2,Tesarand/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown-1,EmmaKitty/Pokemon-Showdown,KewlStatics/Pokeindia-Codes,SilverTactic/Pokemon-Showdown,scotchkorean27/Pokemon-Showdown,Firestatics/Omega-Alpha,Darkshadow6/PokeMoon-Creation,ehk12/clone,BlazingAura/Showdown-Boilerplate,LegendBorned/PS-Boilerplate,ZestOfLife/FestiveLife,Evil-kun/Pokemon-Showdown,Firestatics/Omega-Alpha,Checkinator/Pokemon-Showdown,PrimalGallade45/Lumen-Pokemon-Showdown,KewlStatics/Shit,yashagl/yash-showdown,comedianchameleon/test,SilverTactic/Showdown-Boilerplate