/**
* Copyright (c) Aspose 2002-2014. All Rights Reserved.
*/
package asposefeatures.workingwithdocument.clonedoc.java;
import com.aspose.words.Document;
import com.aspose.words.SaveFormat;
public class AsposeCloneDoc
{
public static void main(String[] args) throws Exception
{
String dataPath = "src/asposefeatures/workingwithdocument/clonedoc/data/";
Document doc = new Document(dataPath + "document.doc");
Document clone = doc.deepClone();
clone.save(dataPath + "AsposeClone.doc", SaveFormat.DOC);
System.out.println("Done.");
}
}