Modified lstrcpynWtoA to put terminating null at end of string, not