Easy And Beginner friendly Java Approach
\n public int[] getConcatenation(int[] nums) {\n        \n        int n=nums.length;\n        int arr[]=new int[2*n]; //create a result arr of twice length\n   
```\n public int[] getConcatenation(int[] nums) {\n        \n        int n=nums.length;\n        int arr[]=new int[2*n]; //create a result arr of twice length\n        \n        for(int i=0;i<n;i++)\n        {\n            arr[i]=nums[i];  // fill first half of new array with elements of given array\n            arr[i+n]=nums[i]; // fill another half of new array with elements of given array\n        }\n        return arr;\n    }\n\t\n\t//Do UPVOTE if u liked the solution\n```
['Java']