So you have an ArrayList of strings and you want to return it as a string[] array. It's really easy:

return (string[])arrayList.ToArray(typeof(string));