When i add the value from arraylist dealt to arraylist dealt 1 And remove from arraylist dealt.....
i continously do this process
it should be saved like [card@123,card@1312,card@123123]
but instead it saves only 1 value overwriting the pervious values
i.e [card@123123]