cant use memcpy with a correct implementation of it, the data is overlap...

...ping. use memmove instead until a better fix