Differences while copying the same template into two files

Hi,
in the class AsposeTemplateUtils I’m trying to copy styles from a single template (template.dotx) into to different files (Doc_test_1.docx and Doc_test_2.docx). The behaviour is not as expected because in the Doc_test_output1.docx I can see the style correctly copied while in the file Doc_test_output2.docx styles are different. Why?
All the files mentioned (except the output files) are into the zip file

AsposeTemplateUtils.zip (46,6 KB)

@ernestocastellano As I can see the styles are copied correctly. Here are output documents produced on my side:
out2.docx (25.3 KB)
out1.docx (11.1 KB)

I checked inner XML and styles seems to be copied correctly. If possible, could you please specify what exactly is incorrect on your side and attach your output documents here for our reference?

Here attached some images of the differences about Normal and Heading 2 styles in both your files.

Heading 2_out1:

Heading 2_out2:

Normal_out2:

Normal_out1

@ernestocastellano Than you for additional information. the difference in colors occurs because target documents has different colors set in their themes. The styles has ThemeColor specified:

	<w:style w:type="paragraph" w:default="1" w:styleId="Normal">
		<w:name w:val="Normal"/>
		<w:qFormat/>
		<w:rsid w:val="00924E5A"/>
		<w:rPr>
			<w:rFonts w:ascii="Arabic Typesetting" w:hAnsi="Arabic Typesetting"/>
			<w:color w:val="84E290" w:themeColor="accent3" w:themeTint="66"/>
			<w:sz w:val="32"/>
		</w:rPr>
	</w:style>

ThemeColor has priority over color value, therefore the color value is recalculated to match the color specified in the theme taking theme color tint/shade into account. If unzip your input documents and replace theme.xml in the Doc_test_2.docx with the one from Doc_test_1.docx then colors in the output documents will be the same.