fixed copy and added equals method
Merge pull request #9 from MichaelStinson/mike

fixed copy and added equals method