#include <iostream>
using namespace std;
char *strcpy(char *strDest, char *strSrc);
int main()
{
cout << "Hello World!\n";
char strInput[100];
cin.getline(strInput, 100);
char strOutput[100];
strcpy(strOutput, strInput);
cout << "result = " << strOutput << endl;
}
char *strcpy(char *strDest, char *strSrc)
{
if (strDest == NULL || strSrc == NULL)
return NULL;
char *strDestCopy = strDest;
while ((*strDest++ = *strSrc++) != '\0');
*strDest = '\0';
return strDestCopy;
}