strcpy function: copies a source string to a destination defined by user. In strcpy function both source and
destination strings are passed as arguments. User should make sure that destination has enough space to
accommodate the string to be copied.
'strcpy' sounds like short form of "string copy".
strcpy(char *destination, const char *source);
Source string is the string to be copied and destination string is string into which source string is copied. If
successful, strcpy subroutine return strdup function: duplicates a string to a location that will be decided by the function itself. Function will copy the