Adds certificate copying into TargetDir directory