I'm trying to replace an older subpanel in a barn 200' from the main 200 amp panel. I have many questions; How can I get a 200 amp rated panel out in the barn, what kind of tap/connection would I have to use coming off 200 amp main, what size conductor would I need, is this even allowed by NEC?