Shallow copy
Deep copy of the object to achieve
It is not a simple copy of the object, but the contents of the heap memory will be copied
Shallow copy
Deep copy of the object to achieve
It is not a simple copy of the object, but the contents of the heap memory will be copied