char source[] = "Hello world !"; char destination[20] = {0}; strcpy_s(destination,sizeof(destination)/sizeof(destination[0]),source);