Copying conditionally, from one file to another.