How replace content by other content ?

How replace content by other content ?

What is the similar in Jquery of :

  1. document.getElementById('toto').innerHTML = document.getElementById('tata').innerHTML;

$('#totoi).contents('#tata');

So is not contents......You have idea ?