Create GenericCopy.cs

Made DeepCopy generic.