import java.util.Arrays;
import java.util.ArrayList;
...
//define an array of names
String[] names = {
"siavash" , "sara" , "ahmad" , "darab",
"younes" , "yahya"
};
//convert names to ArrayList
ArrayList<String> arrayList = new ArrayList<String>(Arrays.asList(names));