Java simple 1 for loop
if you like it pls upvote\n\nJAVA\n\n\nclass Solution {\n    public int[] getConcatenation(int[] nums) {\n        int[] res = new int[nums.length*2];\n        \
if you like it pls upvote\n\nJAVA\n\n```\nclass Solution {\n    public int[] getConcatenation(int[] nums) {\n        int[] res = new int[nums.length*2];\n        \n        for(int i = 0;i<nums.length*2;i++){\n            res[i] = nums[i%nums.length];\n        }\n        \n        return res;\n    }\n}\n```
['Java']