Is there a simple way to write the contents of table1 to a file as displayed below?

Table1

column1 column2 column3 column4

a b c d
1 2 3 4
xx gg cc ff

I need the data to be in a format like this:

a
b
c
d

1
2
3
4

xx
gg
cc
ff


I can only get dts to export / display the data the same way the column does and I have no idea on how to do write a file reformat program.
Please Help.