Progarm to copy contents of a string into another string in C

Program

#include <stdio.h>
#include<string.h>
int main()
{
    char str1[20],str2[20];
    int len;
    printf("************************************************************");
    printf("\n************************************************************");
    printf("\n**  WAP to copy contents of a string into another string  **");
    printf("\n**              Created by Sheetal Garg                   **");
    printf("\n**              Assistant Professor                       **");
    printf("\n**              Phone No:9467863365                       **");
    printf("\n************************************************************");
    printf("\n************************************************************");
    printf("\nenter the string\n");
    gets(str1);
    strcpy(str2,str1);
    printf("\nAnother Copy of the string is %s", str2);
}

Output 1

************************************************************
************************************************************
**  WAP to copy contents of a string into another string  **
**              Created by Sheetal Garg                   **
**              Assistant Professor                       **
**              Phone No:9467863365                       **
************************************************************
************************************************************
enter the string
Sheetal Garg

Another Copy of the string is Sheetal Garg
error: You can only copy the programs code and output from this website. You are not allowed to copy anything else.