CoPt magnetic nanocrystals in the A1/L10 transformation