Added copyToBuffer method to EquaSets.