Mannequin Movement

How do I make a mannequin copy a player's movement? I have tried command blocks with the command execute as @n[type=minecraft:mannequin] run data modify entity @s Motion[1] set from entity @p Motion[1] and with the motion 2 and 3 but it only moves when i sprint jump please help me

Continue to help post