Curry scores 27 as Warriors beat Bobcats 104-96