@Override
  public int hashCode() {
    return Objects.hash(type, throwable, counts, bytes);
  }
Creates a shallow copy of the current ImportResult but with the bytes field set to the value
given as an argument
portability-spi-transfer/src/main/java/org/datatransferproject/spi/transfer/provider/ImportResult.java