Use File.rename() or FileUtils.mv()
The first one won't move to a different disk. The second one will.
HTH