Backport Objects.checkFromIndexSize to IOUtils
#790
Merged
Objects.checkFromIndexSize to IOUtils
#790