Cubor

Check if you are smart enough and try to solve this puzzle by moving all blocks to the red square.