is needed strcopy in c++ structure code example
Example: c++ strcpy_s
//When to use strcpy_s:
// Use strcpy_s to copy a const char[] array in read and write memory
//How to use strcpy_s:
//The location where the array is going to be copied to
char* ptrToArray = new char[sizeof(testArray)]
//The Array that gets copied To ptrToArray;
const char[] testArray = "Test Array";
strcpy_s(ptrToArray, sizeof(testArray), testArray);
//Modify the copied array
testArray[i] = 'A'