Copy one file to new name

Share it Please
this program is used to copy whole information of one file to another file having same data but different name.In this program user have to Enter two names that are main file and new file.This is logical program and also it is important so learn this program with patience and with free mind.

Program:

#include<stdio.h>
#include<conio.h>
main()
{
    FILE *mf;
    FILE *cf;
    char c;
    char main[100],copy[100];
    clrscr();
    printf("Enter main file name: ");
    scanf("%s",&main);
    printf("\nEnter new file name: ");
    scanf("%s",&copy);
    mf=fopen(main,"r");
    cf=fopen(copy,"w");
    c=fgetc(mf);
    while(c!=EOF)
    {
        fprintf(cf,"%c",c);
        c=fgetc(mf);
    }
    printf("\nFile copied New file name is %s",copy);
    getch();
}