Write shallow copy method, made copy constructor private