To safely pass a bicycle, you should:

When passing a bicyclist, slow down and give them as much space as you can. Bicyclists have much less protection than drivers of motor vehicles and they should not be crowded. Passing a bicycle too quickly can shift the bicyclist off-course.
DMV Writen Test