Butter an 8-inch square baking pan and line with parchment, leaving an overhang on two sides.
In a large saucepan, cook the butter and marshmallows over medium heat, stirring, until melted. Mix in the cornflakes and cinnamon.
Press the cornflake mixture evenly into the prepared pan. Let cool completely, then lift out and cut into squares.