lab2b copy constructor and copy assignment