SHALLOW copy does the task of CREATINGNEW objects storing references of original elements. This does not UNDERGO recursion to create copies of nested objects. It just copies the reference details of nested objects.
Deep copy creates an independent and new copy of an object and even copies all the nested objects of the original element recursively.