String copy array to arraylist