How to pick color, pattern and other attributes from an object and apply it to another

Select the eyedropper tool from the toolbar. Then click on the object you would like to pick color, pattern, line style and other attributes from. Now click on the object you would like to apply the paint style to.