public void Execute(int index) { var srcChunk = SrcChunks[index].m_Chunk; var dstChunk = DstChunks[index].m_Chunk; var srcArchetype = srcChunk->Archetype; var dstArchetype = dstChunk->Archetype; ChunkDataUtility.CloneChangeVersions(srcArchetype, srcChunk->ListIndex, dstArchetype, dstChunk->ListIndex); DstEntityComponentStore->AddExistingEntitiesInChunk(dstChunk); }