In reply to dave_59:
Hi Dave,
With copy(), the original object could be a subclass of the target object's type with additional class properties that will not get copied.
I haven’t understood why “additional class properties will not get copied” for copy() as the subclass (child) is inherited from a base class (parent), which means it has all the properties and methods of the parent. Could you explain what you meant by additional class properties not getting copied.
Thanks,
Madhu