Copy the dimension dim of the point at position i in the provided bytes at the given offset
dim
i
bytes