Duplicate Method
The Duplicate method makes a duplicate of the object, placing a reference to the new object in a reference variable.
This method has the following syntax:
refvariable = Object.Duplicate()
The reference variable must be of the same class as, or a superclass of, the object that you want to duplicate. If the object that you are duplicating contains any reference variables or arrays that are not null, those objects are duplicated as well.
For more information using this method, see the Programming Guide.