Copying another composer's work was generally frowned upon... unless you were writing a mass setting! Early Music Sources walks through the compositional techniques used to create an imitation mass, whether the chosen subject was suitable for church or not!