How to Copy Objects in Java: References, Shallow Copies, and Deep Copies | CodeTrail