I’m not super familiar with woocommerce, but I believe all you need to do is create a woocommerce
folder in the child theme and add your php files there.
You should never overwrite any plugin or theme directly with your own code modifications, because they will be lost every time you update.