Implement copy for copyable structs.