Copy text to clipboard using Clipboard API with textarea fallback
String text to copy
Promise resolving to boolean indicating success
Copy text to clipboard using Clipboard API with textarea fallback