1 2 #include <tchar.h> 3 4 #ifdef _MSC_VER 5 #pragma function(_tcscpy) 6 #endif /* _MSC_VER */ 7 8 _TCHAR * _tcscpy(_TCHAR * to, const _TCHAR * from) 9 { 10 _TCHAR *save = to; 11 12 for (; (*to = *from); ++from, ++to); 13 14 return save; 15 } 16