#include #include #include int main(int argc, char const *argv[]) { FILE *f; f=fopen(argv[1],"r"); FILE *o; o=fopen(argv[2],"w"); int n; while(!feof(f)==1) { if(!feof(f)==1) { fread(&n,1,1,f); fwrite(&n,1,1,o); } } fclose(o); fclose(f); }