Shallow Copy Methods

In reply to dave_59:

Sir can you tell me whats the difference in two what actually happening in both case.