movePath

public static void movePath(Path source, Path destination)

Moves a file or directory, retrying while Windows briefly denies it; see the overload below.