/* $_SERVER['DOCUMENT_ROOT'] = "/home/astecomb/public_html"; require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); $APPLICATION->SetTitle("test"); CModule::IncludeModule('iblock'); CModule::IncludeModule("catalog"); CModule::IncludeModule('sale'); echo '
';
$arSelect = Array("ID", 'CODE' , "IBLOCK_ID", "NAME", "DATE_ACTIVE_FROM","PROPERTY_*");
$arFilter = Array("IBLOCK_ID"=>18, "ACTIVE"=>"Y" , 'PROPERTY_source_load' => 'tools');
$res = CIBlockElement::GetList(Array(), $arFilter, false, false, $arSelect);
while($ob = $res->GetNextElement()){
    $arFields = $ob->GetFields();
    print_r($arFields['NAME']);
    $el = new CIBlockElement;
    $arLoadProductArray = Array(
        "NAME" => $arFields['NAME'] . "  (Дубль)",
    );
    $rest = $el->Update($arFields['ID'], $arLoadProductArray);
}

require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
*/