How would I go about copying a 2D texture into a certain depth of a 3D texture?

Would I use glCopyTexImage2D?