Copy Function Error

I am updating a C++ program, part of which copies arrays of doubles by iterating through each array (copies elements of array wa2 into array X):

for (j = 0; j < N; ++j) {
        X[j] = wa2[j];
} // End for j

I would like to use the built-in function copy, so am going through the program replacing all loops with copy:

copy(wa2, wa2 + N, X);

However, this causes my compiler to complain:

error C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use - D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'

I have gone through this program and am sure the limits of the copy are fine. But I don't know how to turn off this check so that compilation can complete and this program can be executed. I have never tinkered with compiler options before. Any suggestions? (I am using Microsoft Visual Studio Express 2013 for Windows Desktop.)