>>714632First of all A because in that situation the cube would not have momentum unlike the portal.
Second of all theoretically a portal would have to be a fixed point in space connected to another fixed point in space and therefore cannot be moved like that. Even if you tried to do so the portal would just burn through the pressing arm.