memmove() is used for overlaping strings instead of strcpy(). Signed-off-by: Andrew Borodin <aborodin@vmail.ru>