Depends on a few things.
Will they fit? The ERD (effective rim diameter) might be a couple of mm different but might not make as much difference as you think.
What spokes were they? If they're cheap and nasty, why reuse them? Take the chance to get some Sapim or DT.
who built the wheel? Built well mean more chance of reusing spokes. If the wheel was mashed together then some spokes will have been working hard while some would have been not doing much while the wheel was running. Someone may have bent the spokes around more than was needed when building the wheel.
How did the wheel fail? If you flat spotted or cracked it, maybe they can be reused. If you landed sideways and taco'ed the wheel, too much strain may have been placed on some spokes to make it worth reusing.
I've swapped rims and hubs about before and reused DT spokes that I'd built with originally and things have been fine.