copyarray3