Sort:  

I stated the source I copied from, I was told it is allowed as long as the source and reference is stated in which I did

Yes thats ok