File pfile = model.getProject().getProjectFile();
// copy settings
SettingsMap settings = model.getOWLProject().getSettingsMap();
for(Iterator i=settings.listKeys();i.hasNext();){
String key = ""+i.next();
map.put(key,settings.getString(key));
}
// dispose of object and file etc.