Rewrote the 'CopyArray' command for the sake of control. This should still be compatible with existing code.