Adds a line index to the end of <code>linesArray</code>. Increases the
size of the array if necessary and returns a new array.
<p>
@param start the start of the line
@param length the length of the line
@param linesArray the array to which to add the line index
@param count the position at which to add the line
@return a new array of line indexes
Adds a line index to the end of <code>linesArray</code>. Increases the size of the array if necessary and returns a new array. <p>
@param start the start of the line @param length the length of the line @param linesArray the array to which to add the line index @param count the position at which to add the line @return a new array of line indexes