Quick Powder will double Dittos speed to a maximum around 400 total.
Metal Powder doubles Dittos defense.
Neither work after Ditto Transforms, so you need to decide if you want to take a hit as a tough Ditto, or as your opponent.
Contrary to popular belief, Choice Scarf / Band / Specs allow you to choose a move after you transform, so those items are options too.
When Ditto Transforms he does indeed copy stat boosts, but he also copies abilities. If he transforms into a Gyarados for example, he will copy any Dragon Dances the Gyarados may have, undo the intimidate the opposing Gyarados had, and hit it with your newly Trasformed intimidate.
With Quick Powder, Ditto can outrun +1 Speed Gyarados. Its weird counter for a lot of things, but it can PP stall since it effectively has 200 PP with careful switching.