Method for copy of object. Not deep.