Deferred actual copying of resources to after all the files are processed.
Do not overwrite files with the same path. Instead, write them with changed name e.g. MANIFEST.MF -> MANIFEST-junit-3.8.1.MF