like Brian says:

cc2 = Marshal.load(Marshal.dump(aa2))

-- 
Posted via http://www.ruby-forum.com/.