title: Memcpy : Adding an int offset?
body: <p>I was looking over some C++ code and I ran into this memcpy function.  I understand what memcpy does but they add an int to the source.  I tried looking up the source code for memcpy but I can't seem to understand what the adding is actually doing to the memcpy function.  </p>
  
  <pre><code>memcpy(Destination, SourceData + intSize, SourceDataSize);
  </code></pre>
  
  <p>In other words, I want to know what SourceData + intSize is doing.  (I am trying to convert this to java.)</p>
  
  <p>EDIT:</p>
  
  <p>So here is my attempt at doing a memcpy function in java using a for loop...</p>
  
  <pre><code>for(int i = 0 ; i &lt; SourceDataSize ; i ++ ) {
        Destination[i] = SourceData[i + 0x100];
  }
  </code></pre>