Having had both machines I can tell you from experience how they compare. A Rappy 350 with a good pipe, filter, and correctly jetted can run a stock 400ex. If you're not a good rider you will still loose to the better rider on the 400, but the bike is capable. If the 400 has some work done to it, forget about it. My 400 has what I'd consider a fairly mild build and will outrun stock 450s no problem, so you're not touching a worked 400 with the Rappy unless you have a stroker in it. The good news is that if you trail ride you can still leave him in the dust in stock form if you're a good rider. It all comes down to rider skill and where you're riding for the most part, because very few people are capable of pushing their bikes to the limits, even a 350.