added a select(2) based file copy example