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.6.0-preview.1+4dde68eca4014e9b19e7d7ad0fdae6b2036be640.