Question: how to copy one sheet to another sheet in excel using java?
Answer: Locate path and filename where the existing excel file(testData. ...  Locate path and filename where the new excel file(testData_Copy. ...  Create workbook using XSSFWorkbook class for output excel file. Create sheet in the above workbook using XSSFSheet class with the same name as in the input file.