Fix Issue 3990 - Deferencing a dynamic array as pointer

Deprecation -> Error