Allow "moves" out of immutable static (turn into memcpy)

Fixes #13233