Assigning the values to an Array

hi every body,

i donot know how to assign a array varible with a file

see i having file

more file

property1 Name
property2 Address

the above two line are tab Space seperated between the property and its value

i want to seperate it and assign to two seperate array
array1 should consitute Property1,property2
array2 Should constitute Name ,Address

please help me

One way:

awk '{array1[NR]=$1; array2[NR]=$2} END{for (i=1; i<=NR; i++) {print "Array1:", array1, "Array2:", array2}}' infile