original_string: public function CopyLocal($Name) {
        $Parsed = self::Parse($Name);
  
        $LocalPath = '';
        $this->EventArguments['Parsed'] = $Parsed;
        $this->EventArguments['Path'] =& $LocalPath;
  
        $this->FireAs('Gdn_Upload')->FireEvent('CopyLocal');
        if (!$LocalPath) {
           $LocalPath = PATH_UPLOADS.'/'.$Parsed['Name'];
        }
        return $LocalPath;
     }
code: public function CopyLocal($Name) {
        $Parsed = self::Parse($Name);
  
        $LocalPath = '';
        $this->EventArguments['Parsed'] = $Parsed;
        $this->EventArguments['Path'] =& $LocalPath;
  
        $this->FireAs('Gdn_Upload')->FireEvent('CopyLocal');
        if (!$LocalPath) {
           $LocalPath = PATH_UPLOADS.'/'.$Parsed['Name'];
        }
        return $LocalPath;
     }
code_tokens: public function CopyLocal ( $ Name ) { $ Parsed = self :: Parse ( $ Name ) ; $ LocalPath = '' ; $ this -> EventArguments [ 'Parsed' ] = $ Parsed ; $ this -> EventArguments [ 'Path' ] = & $ LocalPath ; $ this -> FireAs ( 'Gdn_Upload' ) -> FireEvent ( 'CopyLocal' ) ; if ( ! $ LocalPath ) { $ LocalPath = PATH_UPLOADS . '/' . $ Parsed [ 'Name' ] ; } return $ LocalPath ; }
docstring: Copy an upload locally so that it can be operated on.
  
  @param string $Name
docstring_tokens: Copy an upload locally so that it can be operated on .