Added the code for copy and deepcopy. Still need the cods to back it up.