'Renames the file denoted by this pathname.
Public Sub RenameTo(DirName As String, FileName As String, NewDirName As String, NewFileName As String) As Boolean
Dim Source As JavaObject
Source.InitializeNewInstance("java.io.File",Array(DirName,FileName))
Dim Dest As JavaObject
Dest.InitializeNewInstance("java.io.File",Array(NewDirName,NewFileName))
Return Source.RunMethod("renameTo",Array As Object(Dest))
End Sub