From: Daniel N Date: 2007-11-21T12:44:51+09:00 Subject: Re: How to copy arrays? ------=_Part_5239_3375547.1195616694327 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Nov 21, 2007 2:38 PM, Martin Durai wrote: > Thank you daniel, but my functionality is not return as a array. > I need to copy a source array to a destination array. > > Thank you in advance > -- > Posted via http://www.ruby-forum.com/. > > I don't understand what your asking then. This is a fairly standard way to copy an object. @array = [1,2,3,4,5] @new_array = @array.dup ------=_Part_5239_3375547.1195616694327--