Use the allocator of the src ByteBuf to allocate the new ByteBuf