title: Issue with using std::copy
body: <p>I am getting warning when using the std copy function.</p>
  
  <p>I have a <code>byte</code> array that I declare. </p>
  
  <pre><code>byte *tstArray = new byte[length];
  </code></pre>
  
  <p>Then I have a couple other byte arrays that are declared and initialized with some hex values that i would like to use depending on some initial user input. </p>
  
  <p>I have a series of if statements that I use to basically parse out the original input, and based on some string, I choose which byte array to use and in doing so copy the results to the original tstArray.</p>
  
  <p>For example:</p>
  
  <pre><code>if(substr1 == "15")
  {
     std::cout&lt;&lt;"Using byte array rated 15"&lt;&lt;std::endl;
     std::copy(ratedArray15,ratedArray15+length,tstArray);
  } 
  </code></pre>
  
  <p>The warning i get is 
  warning C4996: 'std::copy': Function call with parameters
  that may be unsafe
  - this call relies on the caller to check that the passed
  values are correct.</p>
  
  <p>A possible solution is to to disable this warning is by useing -D_SCL_SECURE_NO_WARNINGS, I think. Well, that is what I am researching.</p>
  
  <p>But, I am not sure if this means that my code is really unsafe and I actually needed to do some checking?</p>