copi file src rais file except problem param dest destin file param src sourc file destin file success copi io except problem file file except file file copi file file src file dest file except io except file input stream fi file input stream src file output stream fo file output stream dest buf fi read buf fo write buf fi close fo close dest set modifi src modifi dest 