Added copy method to Bracket
Fixed bug in Bracket.copy()
Altered code to use Bracket.copy() instead of deep copy