public static <T> void copy(@NotNull Collection<? extends T> src, T @NotNull [] dst, int dstOffset) {
    int i = dstOffset;
    for (T t : src) {
      dst[i++] = t;
    }
  }
public static <T> void copy(@NotNull Collection<? extends T> src, T @NotNull [] dst, int dstOffset)