fixed access violation when using unicode strings

second parameter of wcscpy_s is not the size in bytes, but the number of elements.
Merge pull request #6 from johnnykv/patch-2

fixed access violation when using unicode strings