If you are driving near a motorcycle, you must:

A motorcycle is a full-size vehicle with the same privileges as any other vehicle on the roadway. You should allow a motorcyclist a full lane width. Although it may seem as though there is enough room in the traffic lane for a larger vehicle and a motorcycle, remember that the motorcycle needs room to maneuver safely.
DMV Writen Test