Deep copy vs shallow copy — behavior and how to achieve each · InterviewLane