if(!collectionPath.startsWith("/db")) collectionPath = parent.getPath() + '/' + collectionPath; if(!destinationPath.startsWith("/db")) destinationPath = parent.getPath() + '/' + destinationPath;
collectionPath = NativeBroker.checkPath(collectionPath, parent.getPath());  destinationPath = NativeBroker.checkPath(destinationPath, parent.getPath());
	public void copy(String collectionPath, String destinationPath, String newName)			throws XMLDBException {		if(!collectionPath.startsWith("/db"))            collectionPath = parent.getPath() + '/' + collectionPath;        if(!destinationPath.startsWith("/db"))            destinationPath = parent.getPath() + '/' + destinationPath;        if(newName == null) {            int p = collectionPath.lastIndexOf(('/'));            newName = collectionPath.substring(p + 1);        }        Vector params = new Vector();        params.addElement( collectionPath );        params.addElement( destinationPath );        params.addElement( newName );        try {            client.execute( "copyCollection", params );        } catch ( XmlRpcException xre ) {            throw new XMLDBException( ErrorCodes.VENDOR_ERROR,                xre.getMessage(),                xre );        } catch ( IOException ioe ) {            throw new XMLDBException( ErrorCodes.VENDOR_ERROR,                ioe.getMessage(),                ioe);        }	}