How to Resolve an Error When Moving Specified Tiles in a 2D Array Vertically?

Thank you for your response!
Resolved!