Easy Java Solution O(N)|| No fancy Java
Upvote if you like the solution :)\n\nclass Solution {\n    public int[] getConcatenation(int[] nums) {\n        int[] ans = new int[nums.length*2];\n        in
**Upvote if you like the solution :)**\n```\nclass Solution {\n    public int[] getConcatenation(int[] nums) {\n        int[] ans = new int[nums.length*2];\n        int n=nums.length;\n        for(int i=0;i<nums.length;i++){\n            ans[i]=nums[i];\n            ans[i+n]=nums[i];\n        }return ans;\n    }\n}\n```
['Array', 'Java']