changed to strcpy to strcpy_s