Ar Copy
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns an identical copy of the specified array. If the specified array contains elements that are themselves arrays, the returned copy will contain references to the same sub arrays, not duplicates. (Meaning, changes to one sub array will affect both). If you need to duplicate sub arrays too, use Ar_DeepCopy.
Syntax
(array) Ar_Copy Source:array
Example
array_var aOriginal array_var aClone let aClone := Ar_Copy aOriginal