std::bitset is a trivially copyable type in every implementation, although I don't think it's required to be by the standard.
If you're willing to make some basic assumptions about its implementation, you can use std::memcpy to super-efficiently copy all of its bits out of the container.