<div id="div_1">HTML Код</div> <div id="div_2"></div>
document.getElementById('div_2').innerHTML = document.getElementById('div_1').innerHTML;