#include<stdio.h>
#include<conio.h>

void main()
{
FILE *fs, *ft;
char ch;
clrscr();
	if((((fs=fopen("d:\\BCE.txt", "r"))==NULL)) || (((ft=fopen("d:\\BCE1.txt", "w"))==NULL)))
	printf("File Not Created/Opened");
	else
		{
		while(1)
			{
			ch=fgetc(fs);
			if(ch==EOF)
			break;
			else
				fputc(ch, ft);
			}
				printf("File Copied Sucessfully...");

		}
		fclose(fs);
		fclose(ft);
}