Copy method
Copies length structs from src into a tracked slot using setCFunc.
Implementation
P Copy(P src, int length, {String? key}) {
final p = At(slotKey(key), length);
for (int i = 0; i < length; i++) setCFunc(p, i, indexerFunc(src, i));
return p;
}