Infosys Interview Question

Different methods to copy an object.