// Now copy the file
actions = new CompositeScmAction();
addDirectory = new AddDirectory( "",
"folder2" );
actions.addScmAction( addDirectory );
ScmAction copyFile = new CopyFile( "folder1",
"file1.dat",
"folder2",
"file2.dat",
svn.getLatestRevision() );
actions.addScmAction( copyFile );