CustomMemoryBuffer: only memcpy when not `nullptr`
I had a problem when I was using a custom allocator that was not happy with memcpy
ing nullptr
even when the size is 0.
Edited by Stephan Seitz
I had a problem when I was using a custom allocator that was not happy with memcpy
ing nullptr
even when the size is 0.