public function copyRoot(Chapter $root_original, Chapter $root_copy)
    {
        $root_copy->setTitle($root_original->getTitle());
        $root_copy->setText($root_original->getText());
        $this->copyChildren($root_original, $root_copy, true);
    }
public function copyRoot(Chapter $root_original, Chapter $root_copy)
    {
        $root_copy->setTitle($root_original->getTitle());
        $root_copy->setText($root_original->getText());
        $this->copyChildren($root_original, $root_copy, true);
    }
public function copyRoot ( Chapter $ root_original , Chapter $ root_copy ) { $ root_copy -> setTitle ( $ root_original -> getTitle ( ) ) ; $ root_copy -> setText ( $ root_original -> getText ( ) ) ; $ this -> copyChildren ( $ root_original , $ root_copy , true ) ; }
Copy full lesson chapters, from original root to copy root.

@param Chapter $root_original
@param Chapter $root_copy
Copy full lesson chapters from original root to copy root .