Array methods renaming

eof -> end
end -> chunk_end