#include <iostream>
#include <memory>
#include <algorithm>
int main()
{
constexpr size_t SIZE = 10;
std::unique_ptr<int[]> uptr1{ new int[SIZE]{0, 1, 2, 3, 4, 5, 6, 7, 8, 9} };
auto uptr2 = std::make_unique<int[]>(SIZE);
// Implement your solution here
std::copy(&uptr1[0], &uptr1[0] + SIZE, &uptr2[0]);
for (size_t i = 0; i < SIZE; ++i)
{
std::cout << uptr2[i] << ' ';
}
}