Convert Set of String to Array of String in Java