Fixed a bug with destination recreation in 'CopyArray'.