Split an array of strings into other array of stings : I`m making a project, which gets an array of strings from a .txt file, which contains the two names of a person. The problem is that when i try to split the elements from the string "line" and try to give other two strings those values, something happens. 

The text file contains:  
"Noah Mason  
Emma Williams  
Richard Daniel
and so on..."
I want to split the lines into two separate arrays of stings "firstName" and "secondName". And i want something like this:  
    firstName[0]="Noah";  
    firstName[1]="Emma";  
    firstName[2]="Richard";  
    secondName[0]="Mason";  
    secondName[0]="Williams";  
    secondName[0]="Daniel";

Thank you in advance!