And "list[] = arg[]" doesn't make sense. You can't assign arrays like this.
Okay let's back up. If you're trying to put an array inside something else, like a class, there are more restrictions on what you can do. Because an array needs to have a size. It can't dynamically be assigned a new one. If you need to do that, use vector.
Instead of passing the size as a parameter, since you're using template, perhaps you should have size as a template parameter.