delete and copy in obj-c