moved to const in some declarations
added a find method to arraylist
switched to const on compare
added a copy method to arraylist
fixed code style
reversed arraylist copy arg order to make it the same as other functions