Additional function Copy and Merge, debugged, arrays correct, Merge func incomplete