package body Stacks is
   procedure Copy_Top (From : Stack; Into : in out Stack) is
      P : Node_Ptr := From.Top;
   begin
      if P /= null and then Into.Top /= null then
         P.Value := Into.Top.Value;
      end if;
   end Copy_Top;
end Stacks;
