remove nonfunctioning copy function