Fix incorrect use of copy on list