array.merge()
This function creates a new array with data from the two passed arrays. To add all the data from one array into another without creating a new array see the built in function ArrayAppend(arr1, arr2, true).
array.merge( array2=array, leaveIndex=boolean )
Returns: Array
Examples
myarray = ["one","two","three","four","five"];
myarray1 = ["six","seven","eight"];
res = myarray.merge(myarray1);
writeDump(res);
res = myarray1.merge(myarray);
writeDump(res);
res = myarray.merge(myarray1,true);
writeDump(res);