This is a simple C program that copies the contents of one ASCII (text) file onto another file. It is similar to Unix’s cp  command.

C++ For Dummies 7th Edition
Unlock the world of programming with C++ for Dummies – the perfect beginner’s guide to mastering C++ with ease and confidence!
View on Amazon

This C program is called with two parameters i.e. the names of two files (fin and fout). The contents of the file referenced in second parameter are copied onto the file which is referenced by first parameter.