Create Antd Tree based on checked Node of another Antd Tree

I want to create a Tree antd data with only checked nodes of another Tree data, please take a look here image

When I Check some nodes and click on validate, I want to be able to filter only checked/half checked data from my data and create another Tree with new data.
This is my sandbox, please take a look 🙂
https://codesandbox.io/s/modern-browser-glh4n?file=/index.js
Thank you