diff --git a/Recyclable.Collections/RecyclableList.Helpers.cs b/Recyclable.Collections/RecyclableList.Helpers.cs index cde4f4a..c1914b0 100644 --- a/Recyclable.Collections/RecyclableList.Helpers.cs +++ b/Recyclable.Collections/RecyclableList.Helpers.cs @@ -238,7 +238,7 @@ namespace Recyclable.Collections T[] oldMemoryBlock = sourceList._memoryBlock; // & WAS SLOWER AS ARRAY - Array.Copy(oldMemoryBlock, newMemoryBlock, oldMemoryBlock.Length); + new Span(oldMemoryBlock).CopyTo(newMemoryBlock); if (oldMemoryBlock.Length >= RecyclableDefaults.MinPooledArrayLength) {