Copies a source wide string of a specified length to a destination storage area.
wchar_t *wcsncpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n);
s1 Pointer to destination storage area
n Number of characters to be copied
The wcsncpy function is the wide-character version of the strncpy function.