function CopyObject (object oSource, location locLocation, object oOwner = OBJECT_INVALID, string sNewTag = "")
Duplicates the object specified by oSource. ONLY creatures and items can be specified. If an owner is specified and the object is an item, it will be put into their inventory If the object is a creature, they will be created at the location. If a new tag is specified, it will be assigned to the new object.
- Return type: object
- Include file: nwscriptdefn