Copy certain values from one element to another
<p>I'm trying to copy the width and height attributes from one elemenent to another with javascript/jquery but can't implement it.</p>

<p>I have somethink like that:</p>

<pre><code>&lt;div id="two"&gt;

&lt;img src="picture.jpg" id="one" width="600px" height="300px" /&gt;

&lt;/div&gt;
</code></pre>

<p>and I want to get this:</p>

<pre><code>&lt;div id="two" width="600px" height="300px" &gt;

&lt;img src="picture.jpg" id="one" width="600px" height="300px" /&gt;

&lt;/div&gt;
</code></pre>

<p>Every help would be greatly appreciated. </p>

<p>Thank's.</p>

<p>p.s.sorry for my bad English</p>
