For complete examples and data files, please go to https://github.com/aspose-words/Aspose.Words-for-C
// The path to the documents directories.
System::String inputDataDir = GetInputDataDir_WorkingWithSections();
System::String outputDataDir = GetOutputDataDir_WorkingWithSections();
System::SharedPtr<Document> srcDoc = System::MakeObject<Document>(inputDataDir + u"Document.doc");
System::SharedPtr<Document> dstDoc = System::MakeObject<Document>();
System::SharedPtr<Section> sourceSection = srcDoc->get_Sections()->idx_get(0);
System::SharedPtr<Section> newSection = System::DynamicCast<Section>(dstDoc->ImportNode(sourceSection, true));
dstDoc->get_Sections()->Add(newSection);
System::String outputPath = outputDataDir + u"CopySection.doc";
dstDoc->Save(outputPath);