By a simple passing of array to another variable, do you just mean assigning an object to a new name? I'm struggling to replicate your issue.
Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.