//@Test
public void testCopyFrom() throws Exception {
String srbGsiUri = "srb://" + srbGsiHost + ":" + srbGsiPort+"/ngs/home/david-meredith.ngs/test.txt";
DefaultFileSystemManager fsManager = this.getFsManager();
FileSystemOptions opts = this.createFileSystemOptions();
FileObject to = fsManager.resolveFile(srbGsiUri, opts);
assertTrue(to.exists());
String localFile = "file:///tmp/from.txt";
FileObject from = fsManager.resolveFile(localFile);
assertTrue(from.exists());
// pass the source file to copy as arg
to.copyFrom(from, new AllFileSelector());