ios_base::operator=

ios_base& operator=(const ios_base& rhs) const;

The operator copies the stored formatting information, making a new copy of any extensible arrays. It then returns *this. Note that the callback stack is not copied.