C.C.
It's not due to her brother, it's due to her being 2. That's just how they are! But don't give up hope. What you need to do is pick a weekend when you don't have anything else to do, and... throw away all your diapers. She poops in diapers because she's wearing them, and that's where she's always pooped, so why change! Think about it - if you had been pooping in diapers for several years, and one day someone told you that now you're going to do this whole new thing where you sit on an open chair and poop into water, you'd think it was pretty weird, too. So that's why she's balking.
The fastest and easiest way is to simply take the diapers away. Then, have her run around naked from the waist down. Watch her very closely, and the moment she seems like she might need to go - run her to the potty. It's possible you might have to make her sit there the first couple of times. Once she understands what it feels like right before she goes, and what it feels like to go in the potty, she'll get with the program. (And if she has an accident, clean it up without a fuss, and let her know that next time she'll make it to the potty - then make sure she does.) I used this "naked and $60" method with both of my girls and both were potty trained in under 3 days. (The $60 is for renting a steam cleaner for your carpet once your child is potty trained, LOL!)
Best of luck - potty training is the least fun part of having a toddler! But you're almost there. Good luck!