You should be able to replace these three line with `var targetManifest = webappTargetDir.clone();`