implemented file copy example