copyTo

void copyTo<T: copyable>(const T[] this, T[] destination, sizeof(T))

Copies array elements into another array.

Parameters

const
this
T[]
destination

The array that receives copied elements. If it is shorter than the source, only the destination length is copied.

nuint
sizeof(T)

Generated with campc v0.8.0-preview.1+4df4cd2858d46c717d136ff5c571742dc449f642.