copy

void copy(double* first, double* last, double* dest);

Copies the elements in [first, last) to [dest, dest + (last - first)).

Parameters:
firstBeginning iterator for the container of elements.
lastEnding iterator for the container of elements.
destBeginning iterator for the destination array.

Usage:
double s[5] = {1, 3, 56, 3, 512};
double d[5] = {1, 3, 56, 3, 512};
copy(s, s + 5, d);

Header:
#include "datamanp.h"