1 import jcifs.smb.SmbFile;2 3 public class CopyTo {4 5 public static void main( String argv[] ) throws Exception {6 7 SmbFile from = new SmbFile( argv[0] );8 SmbFile to = new SmbFile( argv[1] );9 from.copyTo( to );10 }11 }12 13