title: PHPExcel copy sheet and change
body: <pre><code>$inputFileType = PHPExcel_IOFactory::identify($path . '/' . $fileName); 
  $objReader = PHPExcel_IOFactory::createReader($inputFileType);
  $objPHPExcel = $objReader-&gt;load($path . '/' . $fileName);
  
  //temp sheet copy 2 times
  for ($pageIndex=1; $pageIndex &lt;= 2; $pageIndex++) {
     $tempSheet = $objPHPExcel-&gt;getSheet(0)-&gt;copy();
     $tempSheet-&gt;setTitle('Page ' . $pageIndex);
  
     $objPHPExcel-&gt;addSheet($tempSheet);
     unset($tempSheet);
  }
  
  $sheet = $objPHPExcel-&gt;getSheet(1);
  $sheet-&gt;setCellValueExplicitByColumnAndRow(0, 1, 'TEST', PHPExcel_Cell_DataType::TYPE_STRING);
  </code></pre>
  
  <p>I copy a single excel sheet 2 times and I only make changes on page 2. This change applies to all pages</p>