Content is Overflowing to multiple pages with Aspose words

Hi team
When We use the aspose words to read the single page document and the content to Outputstream and save it , we are seeing the same content is shown as two pages with footers alone flowing to the second page .

Could you help on the root cause of this .

Document doc0 = new Document();
for (int i = 0; i < pageGroup.size(); i++)
{
    if (i == 0)
    {
        doc0 = new Document(pageGroup.get(i));
    }
    else
    {
        Document doc1 = new Document(pageGroup.get(i));
        doc0.appendDocument(doc1, ImportFormatMode.USE_DESTINATION_STYLES);
    }
}

@veera1208 Could you please attach your input, output and expected output documents here for testing? We will check the issue and provide you more information.