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

Parameters

arrayArray.

Description

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