Footer duplication

I used the sample provided here Add Header and Footer to PDF|Aspose.PDF for .NET

I set my footer to “123456” . This works fine, but if you double click the text and copy-paste it elsewhere the text is incorrectly being duplicated like “111111222222333333444444555555666666”
This is occurring with all numbers in the footer

  this.PdfDocument = new Document(documentStream);
  PdfDocument.EmbedStandardFonts = true;
  PdfDocument.DisableFontLicenseVerifications = true;

  for (var i = 0; i < PdfDocument.Pages.Count; i++)
  {

    // Create footer text
    var footerText = new Aspose.Pdf.Text.TextFragment("123456");

    // Create footer 
    var footer = new Aspose.Pdf.HeaderFooter();
    footer.Paragraphs.Add(footerText);

   
    // Set footer margin
    footer.Margin = new Aspose.Pdf.MarginInfo
    {
      Left = 20,
      Top = 40,
      Right = 20
    };

    PdfDocument.Pages[i+1].Footer = footer;
  }

  this.PdfDocument.Save(documentStream, new PdfSaveOptions { DefaultFontName = "Arial" });
  documentBytes = documentStream.ToArray();
}

@R_C_D_T
I tried to reproduce the issue using a simple test document and the following code.
TestPdf.pdf (23.6 KB)

using var documentStream = new FileStream(dataDir + "TestPdf.pdf", FileMode.Open);

using var PdfDocument = new Document(documentStream);
PdfDocument.EmbedStandardFonts = true;
PdfDocument.DisableFontLicenseVerifications = true;

for (var i = 0; i < PdfDocument.Pages.Count; i++)
{

    // Create footer text
    var footerText = new Aspose.Pdf.Text.TextFragment("123456");

    // Create footer 
    var footer = new Aspose.Pdf.HeaderFooter();
    footer.Paragraphs.Add(footerText);


    // Set footer margin
    footer.Margin = new Aspose.Pdf.MarginInfo
    {
        Left = 20,
        Top = 40,
        Right = 20
    };

    PdfDocument.Pages[i + 1].Footer = footer;
}

PdfDocument.Save(documentStream, new PdfSaveOptions { DefaultFontName = "Arial" });

The issue didn’t reproduce, so I suspect it’s related to a specific document.
Please attach the document in which this issue occurs.