Letter,haveErr=0;EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rif(argc!=3)\r(\rprintf("\nusage:P7-764sourceFilenamedestinationFilename\nn);\rexit(l);\r)\rfpSrc=fopen(argv[l],'frb'1);\rif(NULL==fpSrc)\r(\rprintf(M\nsourceFile(%s)OpenError!\n'\argv[l]);\rexiK2);\r)\rfpDst=fopen(argv[2],uwbM);\rif(NULL==fpDst)\r(\rfclose(fpSrc);\rprintf('^destinationFile(%s)CreateError!\nH,argv[2]);\rexitÏ\r)\rwhile(1)\r(\rcLetter=getc(fpSrc);\rif(EOF==cLetter)\r(\rbreak;\r)\rcLetter=putc(cLetter,fpDst);\rif(EOF=cLetter)\r(\rhaveErr=1;\rprintf("\nwritingdestinationFile(%s)Error!\n",argv[2]);\rbreak;\r)\r)\rfclose(fpSrc);\rfclose(fpDst);\rif(JhaveErr)\rprintf("\ncopy%sto%ssuccessed!\n",argv[l],argv[2]);\r)\relseEvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rreturn4;\rreturn0;\r}