Can you show me the implementation? I don't see how it's possible that allocating a new array and then copying all the data could possibly be faster than moving it in place.