converted FIle.info() and File.copy()