js call 'copy' to swf