public List<ShenyuServiceInstance> getCopyInstances() {
        List<ShenyuServiceInstance> copy = new ArrayList<>(shenyuServiceInstances.size());
        shenyuServiceInstances.forEach(instance -> {
            ShenyuServiceInstance cp = ShenyuServiceTransfer.INSTANCE.deepCopy(instance);
            copy.add(cp);
        });
        return copy;
    }
Get instance copy.

@return list list
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-grpc/src/main/java/org/apache/shenyu/plugin/grpc/resolver/ShenyuServiceInstanceLists.java