source/Application/Controller/Admin/ArticleMain.php
protected function _copyArtExtends($sOldId, $sNewId)
    {
        $oExt = oxNew(\OxidEsales\Eshop\Core\Model\BaseModel::class);
        $oExt->init("oxartextends");
        $oExt->load($sOldId);
        $oExt->setId($sNewId);
        $oExt->save();
    }
protected function _copyArtExtends($sOldId, $sNewId)
    {
        $oExt = oxNew(\OxidEsales\Eshop\Core\Model\BaseModel::class);
        $oExt->init("oxartextends");
        $oExt->load($sOldId);
        $oExt->setId($sNewId);
        $oExt->save();
    }
protected function _copyArtExtends ( $ sOldId , $ sNewId ) { $ oExt = oxNew ( \ OxidEsales \ Eshop \ Core \ Model \ BaseModel :: class ) ; $ oExt -> init ( "oxartextends" ) ; $ oExt -> load ( $ sOldId ) ; $ oExt -> setId ( $ sNewId ) ; $ oExt -> save ( ) ; }
Copying article extends

@param string $sOldId Id from old article
@param string $sNewId Id from new article
Copying article extends