using a copy attribute method