try {
Object fileacc = xMsf.createInstance("com.sun.star.comp.ucb.SimpleFileAccess");
XSimpleFileAccess simpleAccess = (XSimpleFileAccess)
UnoRuntime.queryInterface(XSimpleFileAccess.class,fileacc);
if (simpleAccess.exists(newF)) simpleAccess.kill(newF);
simpleAccess.copy(oldF,newF);
res = true;
} catch (com.sun.star.ucb.InteractiveAugmentedIOException e) {
return false ;
} catch (com.sun.star.uno.Exception e) {