Well lets start with what exception are you getting? My guess would be a null exception because looking at your code you never instantiate "words"
Personally for the task you are doing, I wouldn't declare words as a string[].
I would declare words as :
List<string> words = new List<string>();</string></string>
Then instead of words[i] = I would do:
words.Add(lineWords[0]);
Finally if you have to return an array do:
return words.ToArray();
Oh, and I would change:
if (lineWords.Length < (2 + 1))
to
if (lineWords.Length < 3)