It really, I mean, really, depends what the stats are. If your Alakazam has perfect Attack and Defense IVs, and you have another one that has perfect Special Attack IVs, I would go for the Special Attack one. Why? Alakazam has sky high Special Attack, and can hurts things with it, and having perfect IVs in Attack won't do anything.
In conclusion, it depends. Choose the stats that the Pokemon utilizes well.