code: private static PBXObjectRef createPBXCopyFilesBuildPhase(final int buildActionMask, final String dstPath,
        final String dstSubfolderSpec, final List files, final boolean runOnly) {
      final Map map = new HashMap();
      map.put("isa", "PBXCopyFilesBuildPhase");
      map.put("buildActionMask", NumberFormat.getIntegerInstance(Locale.US).format(buildActionMask));
      map.put("dstPath", dstPath);
      map.put("dstSubfolderSpec", dstSubfolderSpec);
      map.put("files", files);
      map.put("runOnlyForDeploymentPostprocessing", toString(runOnly));
      return new PBXObjectRef(map);
    }
docs: Create a build phase that copies files to a destination.
  
  @param buildActionMask
  build action mask.
  @param dstPath
  destination path.
  @param dstSubfolderSpec
  subfolder spec.
  @param files
  files.
  @param runOnly
  if true, phase should only be run on deployment.
  @return PBXCopyFileBuildPhase.