Explanation
The strcpy() function copies string2, including the ending null character, to the location that is specified by string1.
The strcpy() function operates on null-ended strings.
The string arguments to the function should contain a null character (\0) that marks the end of the string.