Fixed copy() method