this change will prevent undefined behavior when src and dst are equal (memcpy),...