public void CopyTo (T[] array);
public void CopyTo (NativeArray<T> array);

Parameters

arrayDestination array.

Description

Copy all elements to another NativeArray or managed array of the same length.