code: private function processArray($fileToMove)
      {
          $fileName = $fileToMove['name'];
  
          $filePathFrom = $this->currentCommand->getFromDirectory() . $fileName;
          $filePathTo   = $this->currentCommand->getToDirectory() . $fileName;
  
          $this->validateFileFrom($filePathFrom);
          $this->validateFileTo($filePathTo);
  
          return rename($filePathFrom, $filePathTo);
      }
docs: maybe array
  
  @deprecated
  @param  $fileToMove
  @return bool