Reads a specified number of bytes starting at a given position into an array at the specified offset.