Problem

Return copy of arr.

Examples

  • copyArray([1, 2]) -> [1, 2]
Compile and test (Ctrl+Enter)