def copy(self, deep_copy_buffers: bool = True) -> _BufferedStateVector:
        """Copies the object.

        Args:
            deep_copy_buffers: True by default, False to reuse the existing buffers.
        Returns:
            A copy of the object.
        """
        return _BufferedStateVector(
            state_vector=self._state_vector.copy(),
            buffer=self._buffer.copy() if deep_copy_buffers else self._buffer,
        )
Copies the object.

        Args:
            deep_copy_buffers: True by default, False to reuse the existing buffers.
        Returns:
            A copy of the object.
        
cirq-core/cirq/sim/state_vector_simulation_state.py