fix Issue 4791 - Assigning a static array to itself should be allowed
Merge pull request #3628 from 9rnsr/fix4791

Issue 4791 - Assigning a static array to itself should be allowed