I think you need to do this manually - this means that you need to check if the target-name already exists as a file and delete it before doing the real renaming.
You can write a procedure to do this:
public void forceRename(File source, File target) throws IOException
{
if (target.exists()) target.delete();
source.renameTo(target)
}
, .
. ( ) , .