code: public static String serializeList(List<CopyEntity> copyEntities) {
      return GSON.toJson(copyEntities, new TypeToken<List<CopyEntity>>() {}.getType());
    }
docs: Serialize a {@link List} of {@link CopyEntity}s into a {@link String}.
  
  @param copyEntities to be serialized
  @return serialized string