Question: how to copy data from one excel to another in java?
Answer: To move or copy sheets to another workbook, open the workbook that will receive the sheets.
Switch to the workbook that contains the sheets you want to move or copy, and then select the sheets.
On the Edit menu, click Move or Copy Sheet.