diff --git a/BeefLibs/corlib/src/Collections/List.bf b/BeefLibs/corlib/src/Collections/List.bf index 7273c586..f7725e54 100644 --- a/BeefLibs/corlib/src/Collections/List.bf +++ b/BeefLibs/corlib/src/Collections/List.bf @@ -385,8 +385,8 @@ namespace System.Collections Free(oldPtr); return; } - for (var val in ref addSpan) - mItems[mSize++] = val; + Internal.MemCpy(mItems + mSize, addSpan.Ptr, addSpan.Length * alignof(T), alignof(T)); + mSize += (.)addSpan.Length; #if VERSION_LIST mVersion++; #endif