Here too, should be a val, nor a var (same thing in other copyOfRanges).