The method copyOf(char[],int) is undefined for the type Array.
你这个方法关于这种类型的数组没有定义
你应该是写错了,你是想用Arrays里的静态方法吧。