private void copy ( Folder folder, Host destination, Hashtable copiedObjects ) throws DotDataException, DotSecurityException, DotStateException, IOException {
boolean rename = APILocator.getHostAPI().doesHostContainsFolder( destination, folder.getName() );
Folder newFolder = new Folder();
newFolder.copy( folder );
newFolder.setName( folder.getName() );
while ( rename ) {
newFolder.setName( newFolder.getName() + "_copy" );
rename = APILocator.getHostAPI().doesHostContainsFolder( destination, newFolder.getName() );
}