C/CAPL defining one array from another
<p>this is my first question here, please notice I'm very new to coding. Quick search doesn't helped me since I think the answer might be too simple.</p>

<p>Im writing some code in CAPL (a CANoe specific language based on C).
Lets have my scenario simplified: I have to read 10 values Input, but I'm just able to read one by a time (due to HW reasons). </p>

<p>My value is stored in a buffer (rsBuf), now I'm trying to define a help-array for everytime I read the value (rsBuf1 ... 10).
At the end I will create another array with added values of rsBuf1 ... rsBuf10.</p>

<p>for every "read-action", I want to define 
rsBuf1 = rsBuf;
rsBuf2 = rsBuf; and so on...</p>

<p>error:  for "rsBuf1 = rsBuf;" Error 1112 at (732,16): operand types are incompatible.
Compilation failed -- 1 errors, 0 warnings</p>

<p>my "real" values:</p>

<pre><code>variables
{
byte rsBuf[1024];
byte rsBuf1[1024];
}
</code></pre>

<p>is there an easy way to do this one-array-from-another? 
I also tried some other notations I found, like rsBuf1 = {rsBuf}, but wasn't helping. Of course I could define 
rsBuf1[1]=rsBuf[1];
...
rsBuf1[1024]=rsBuf[1024];</p>

<p>but that would be a waste of time I guess.
Thanks in advance, cheers Robert    </p>