simple document copying