An electronic device comprising: a display configured to receive a user's touch input; and at least one processor electrically connected to the display, wherein the at least one processor is configured to display, on the display in response to a first input, a first user interface (UI) component for distinguishing at least part of an entire display area of the display from the entire display area, and a second UI component , and wherein a location of the second UI component displayed on the display is predefined or determined based on a location of the first input; wherein the electronic device is configured to: display a duplicated image of an image which is displayed in the inner area of the first UI component, in the second UI component, instead of an original image corresponding to the second UI component; and, if a user selects an icon displayed in the inner area of the second UI component , regard this as selecting the icon displayed in the inner area of the first UI component and perform a corresponding function; wherein the at least one processor is further configured, in response to the occurrence of a second input corresponding to a touch-and-drag input in the inner area of the second UI component , to calculate a moving direction and distance of the touch-and-drag input, and to transfer the position of the first UI component based on the calculated direction and distance; wherein, when the first UI component approaches an end of the display corresponding to the calculated direction within a predetermined distance, the processor is configured to transfer the content displayed on the display in the opposite direction of the calculated direction rather than transferring the first UI component . a display configured to receive a user's touch input; and at least one processor electrically connected to the display, wherein the at least one processor is configured to display, on the display in response to a first input, a first user interface (UI) component for distinguishing at least part of an entire display area of the display from the entire display area, and a second UI component , and wherein a location of the second UI component displayed on the display is predefined or determined based on a location of the first input; wherein the electronic device is configured to: display a duplicated image of an image which is displayed in the inner area of the first UI component, in the second UI component, instead of an original image corresponding to the second UI component; and, if a user selects an icon displayed in the inner area of the second UI component , regard this as selecting the icon displayed in the inner area of the first UI component and perform a corresponding function; display a duplicated image of an image which is displayed in the inner area of the first UI component, in the second UI component, instead of an original image corresponding to the second UI component; and, if a user selects an icon displayed in the inner area of the second UI component , regard this as selecting the icon displayed in the inner area of the first UI component and perform a corresponding function; wherein the at least one processor is further configured, in response to the occurrence of a second input corresponding to a touch-and-drag input in the inner area of the second UI component , to calculate a moving direction and distance of the touch-and-drag input, and to transfer the position of the first UI component based on the calculated direction and distance; wherein, when the first UI component approaches an end of the display corresponding to the calculated direction within a predetermined distance, the processor is configured to transfer the content displayed on the display in the opposite direction of the calculated direction rather than transferring the first UI component . <EOS>