Different Go solutions
\nfunc getConcatenation(nums []int) []int {\n\tn := len(nums)\n\tans := make([]int, n*2)\n\tfor i := 0; i < n; i++ {\n\t\tans[i], ans[i+n] = nums[i], nums[i]\n\
```\nfunc getConcatenation(nums []int) []int {\n\tn := len(nums)\n\tans := make([]int, n*2)\n\tfor i := 0; i < n; i++ {\n\t\tans[i], ans[i+n] = nums[i], nums[i]\n\t}\n\treturn ans\n}\n```\n\n```\nfunc getConcatenation(nums []int) []int {\n\tn := len(nums)\n\tans := make([]int, n*2)\n\tfor i := 0; i < n*2; i++ {\n\t\tans[i] = nums[i%n]\n\t}\n\treturn ans\n}\n```\n\n```\nfunc getConcatenation(nums []int) []int {\n\treturn append(nums, nums...)\n}\n```
['Go']