api: Improve code clarity by using Arrays.copyOf()
api: Improve code clarity by using Arrays.copyOf()

As noticed by a linter

stanley-cheung/grpc-java,grpc/grpc-java,stanley-cheung/grpc-java,ejona86/grpc-java,dapengzhang0/grpc-java,dapengzhang0/grpc-java,stanley-cheung/grpc-java,grpc/grpc-java,stanley-cheung/grpc-java,ejona86/grpc-java,dapengzhang0/grpc-java,dapengzhang0/grpc-java,ejona86/grpc-java,grpc/grpc-java,ejona86/grpc-java,grpc/grpc-java