Fix ArrayOutOfBounds exception

Number of body lines to copy was one more than the size of the array of
body strings