update the copy constructor