Create a cursor insert from array copy to ..... type csv filetostring()
fcreate loop through rows loop through colums output field endloop output CRLF endloop fclose filetostring()