Prefer memmove over memcpy for overlapping memory regions, otherwise it triggers the address sanitizer with: ERROR: AddressSanitizer: memcpy-param-overlap: memory ranges [x,y) and [a,b) overlap
Prefer memmove over memcpy for overlapping memory regions, otherwise it triggers the address sanitizer with: ERROR: AddressSanitizer: memcpy-param-overlap: memory ranges [x,y) and [a,b) overlap