Copies a wide-character string.
#include <wchar.h>
wchar_t *wcscpy (
wchar_t *ws1,
const wchar_t *ws2);
(OUT) Points to the array into which to copy the string.
(IN) Points to the string to be copied.
Returns ws1.
The wcscpy function copies ws2, including the null-terminating wide-character code, to ws1. Copying of overlapping objects is not guaranteed to work properly. See memmove to copy objects that overlap.