Remember you can only rename the folder, if you have the access rights.
"movie" is the name of the folder and exist in D drive and is renamed to movies or anything you desire.
try the below code
System.IO.Directory.Move(@"D:\movie", @"D:\movies");
For more info, visit
MSDN[
^]