#!/usr/bin/ruby # encoding: utf-8 tomb = [5, 6, 7, 8, 9, 10] b = Array.new b = tomb.collect{|a| a} puts b