Implemented basic copy from one file to other