Pokesav dumps all of the data that DOESN'T correspond to IVs, EVs, contest stats, etc. So when you edit something with Pokesav, the non-essential data, which is usually used to prove legitimacy, is gone.
exactly which could make a perfectly LEGIT pokemon appear illegit. A part of their hex codes are lost so I guess it's not really that safe...