Fix array copy crash when beginning line exceeds number of lines.
Merge pull request #1 from metaborg/fix/affected-lines-crash

Fix array copy crash when beginning line exceeds number of lines.