copy style and data in PHPExcel
<p>I would like to copy all the data and the style of a certain range to other cells. for example I want to copy from A4: I15 and then paste exactly want I copied the contents and styles from A16. How can I do it?. this is what I want to copy:</p>

<p><a href="https://i.stack.imgur.com/5hQPz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/5hQPz.png" alt="enter image description here"></a></p>

<p>I know only copy the data but not the style and do it with this code:</p>

<pre><code>$cellValues = $objPHPExcel-&gt;getActiveSheet()-&gt;rangeToArray('A4:I15');
$objPHPExcel-&gt;getActiveSheet()-&gt;fromArray($cellValues, null, 'A16');
</code></pre>

<p>I need copy the styes.. and the data</p>