// Copy content by performing upgrade
try {
UpgradeProcess upgradeProcess = new UpgradeProcess();
upgradeProcess.setUpgradedFilesDir(contentDir);
upgradeProcess.setTargetDir(atlasDir);
UpgradeReport upgradeReport = upgradeProcess.computeUpgrade();
UpgradeOperationsBasic operations = new UpgradeOperationsBasic(
atlasDir
,contentDir
,new File(atlasDir, "upgrade/install")