If you don't mind an extra buffer copy, you can use the Marshal class in the
System::Runtime::InteropServices namespace, with the StringToAnsiHGlobal(),
then just use strncpy or another like method.
Otherwise, another option would be to use PtrToStringChars() in vcclr.h, pin
the returned pointer, and then use a Unicode-to-ansi conversion function
(such as WideCharToMultiByte) directly unto your array.