Copy trait in different file formats