Synopsis
wchar_t *wmemmove(wchar_t *s1,
                  const wchar_t *s2,
                  size_t n);
Description

wmemmove copies n wide characters from the object pointed to by s2 into the object pointed to by s1 ensuring that if s1 and s2 overlap, the copy works correctly. Copying takes place as if the n wide characters from the object pointed to by s2 are first copied into a temporary array of n wide characters that does not overlap the objects pointed to by s1 and s2, and then the n wide characters from the temporary array are copied into the object pointed to by s1.

wmemmove returns the value of s1.