int arr2[5] = { 0 }; my_memcpy(arr2, arr1, sizeof(arr1)); struct S arr3[] = { {"LeBron", 36}, {"Kobe", 41} }; struct S arr4[3] = { 0 }; my_memcpy(arr4, arr3, sizeof(arr3)); return 0; }