Copies a specified number of wide characters from one wide- character array to another. Format #include <wchar.h> wchar_t wmemcpy (wchar_t *dest, const wchar_t *source, size_t n);
1 – Function Variants
The wmemcpy function has variants named _wmemcpy32 and _wmemcpy64 for use with 32-bit and 64-bit pointer sizes, respectively.
2 – Arguments
dest A pointer to the destination array. source A pointer to the source array. n The number of wide characters to be copied.
3 – Description
The wmemcpy function copies n wide characters from the array pointed to by source to the array pointed to by dest.
4 – Return Value
x The value of dest.