A Library can be moved by moving the corresponding MDF, LDF files from their existing location to another location on the same computer.
MS SQL requires that the user under which SQL service is running have Full Control to the location to which the database is moved.
It is not necessary that both the MDF and LDF of a given library be at the same location.