any idea on how to change strcpy in c++
int main()
{
//all the winning combination
strcpy(winKey[1].key, "123");
strcpy(winKey[2].key, "456");
strcpy(winKey[3].key, "789");
strcpy(winKey[4].key, "147");
strcpy(winKey[5].key, "258");
strcpy(winKey[6].key, "369");
strcpy(winKey[7].key, "159");
strcpy(winKey[8].key, "357");
}