replace function for MacOSX

replace strcpy_s() to strcpy()
strcpy_s() undefined on MacOSX/clang_64