#includevoid MyStrcpy (char *dsStr, const char *srcStr); int main() { char a[80], b[80]; printf("Please enter a string:"); gets(a); MyStrcpy(&b, &a); printf("The copy is:"); puts(b); return 0; } void MyStrcpy (char *dstStr, const char *srcStr) { int i = 0; while (*srcStr != ' ') { *dstStr = *srcStr; srcStr++; dstStr++; } *dstStr = ' '; }



