public static void Main()
Console.WriteLine("Program to copy the elements of an array");
Console.WriteLine("----------------------------------------");
Console.WriteLine("Enter the elements of the array");
array1[i]=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("The Elements of array 1");
Console.WriteLine(array1[i]);
Console.WriteLine("The Copied Elements in array2");
Console.WriteLine(array2[i]);