To move Java elements:
You can also move Java elements by dragging them and dropping in the desired new location.
Note: Dragging and dropping compilation units and types allows you to update references to these elements. In the dialog that appears on dropping, press Yes if you want to update references, press Preview if you want to see the preview of the reference updates, press No if you want to move the elements without updating references or press Cancel if you want to cancel the move operation. Additional options may be available; for more on these options, see the documentation for the corresponding "Rename" refactoring.
To copy Java elements you need to copy them to the clipboard and paste them in the desired new location:
You can also copy Java elements by dragging them and dropping in the desired new location. You will need to have Ctrl pressed while dragging to copy the elements.
Creating Java elements
Moving folders, packages, and files
Copying and moving Java elements