src/Record.php
public function copy(string $target, string $source, bool $override = false)
    {
        if (is_null($this->get($target)) || $override) {
            $this->set($target, $this->get($source));
        }
        return $this;
    }
public function copy(string $target, string $source, bool $override = false)
    {
        if (is_null($this->get($target)) || $override) {
            $this->set($target, $this->get($source));
        }
        return $this;
    }
public function copy ( string $ target , string $ source , bool $ override = false ) { if ( is_null ( $ this -> get ( $ target ) ) || $ override ) { $ this -> set ( $ target , $ this -> get ( $ source ) ) ; } return $ this ; }
Copy the value of one index to another

@param string $target
@param string $source
@param bool $override (true)
@return $this
@throws SimplesRunTimeError
Copy the value of one index to another