Change memmove to memcpy as risk free