code: public NfsRenameResponse rename(F toFile) throws IOException {
          NfsRenameResponse response = getNfs().wrapped_sendRename(makeRenameRequest(toFile));
          if (response.stateIsOk()) {
              setPathFields(toFile);
          }
          return response;
      }
docs: /*
  (non-Javadoc)
  
  @see com.emc.ecs.nfsclient.nfs.NfsFile#rename(com.emc.ecs.nfsclient.nfs.
  NfsFile)