#include<iostream>
using namespace std;
void fun(int *arr,int *newarr,int size);

int main(){
    const int size=5;
    int arr[size]={1,2,3,4,5};
    int newarr[size];
    fun(arr,newarr,size);
    for(int i=0;i!=size;++i)
	cout<<newarr[i]<<"   ";
    cout<<endl;
    return 0;
}
void fun(int *arr,int *newarr,int size){
	for(int i=0;i!=size;++i)
		newarr[i]=arr[i];
}
