process function for generator copy allows manipulation of file contents, destination and encoding. return statement is an object of named arguments

..., destination and encoding. return statement is an object of named arguments